﻿<%@ Page Title="Blog" Language="C#" AutoEventWireup="true" CodeBehind="Blog.aspx.cs"
    Inherits="CakeBlog.Blog" MasterPageFile="~/Site.Master" %>

<asp:Content ID="HeaderContent" runat="server" ContentPlaceHolderID="HeadContent">
</asp:Content>
<asp:Content ID="BodyContent" runat="server" ContentPlaceHolderID="MainContent">
    <div class="main">
        <asp:DataList ID="postDatalist" runat="server">
            <ItemTemplate>
                <div>
                    <img src="<%#Eval("contentimage") %>" alt="<%#Eval("title") %> picture" />
                </div>
                <h2>
                    <%#Eval("title") %></h2>
                <h3 class="dateheader">
                    <%#Eval("date") %></h3>
                <p>
                    <%#Eval("content") %>
                </p>
            </ItemTemplate>
            <FooterTemplate>
            </FooterTemplate>
        </asp:DataList>
    </div>
</asp:Content>
